<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data.one }" var="cate" />
<jsp:useBean class="com.icss.system.vo.ReClassify" id="pojo"/>
<!DOCTYPE HTML>
<html>
	<head>
		<%@ include file="/common/include/title.jsp"%>
		<title>分类查看 - 西餐厅管理系统</title>
	</head>
	<body>
		<nav class="breadcrumb">
			<i class="Hui-iconfont">&#xe67f;</i> 首页 
			<span class="c-gray en">&gt;</span> 系统管理 
			<span class="c-gray en">&gt;</span> 分类查看 
			<a class="btn btn-success radius r"
				style="line-height: 1.6em; margin-top: 3px"
				href="javascript:location.replace(location.href);" title="刷新">
				<i class="Hui-iconfont">&#xe68f;</i>
			</a>
		</nav>
		<article class="page-container">
			<form class="form form-horizontal" id="formSubmit" action="${rootPath }/back/system/cateUpdateSubmit.htm">
				<input type="hidden" name="id" value="${cate.id }">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red"></span>id：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.id}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red"></span>名称：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.name}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">url：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.url}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">上一级：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<c:choose>
							<c:when test="${cate.parentCate!=null}">
							${cate.parentCate.name}
							</c:when>
							<c:otherwise> 
							已是最高级
							</c:otherwise>
						</c:choose>  
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">创建人：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.createAdmins.name}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">更新人：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.updateAdmins.name}
					</div>
				</div>
			<%-- 	<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">模板的内容：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.templCon}
					</div>
				</div> --%>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">分类类型：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.cateTypeStr}
					</div>
				</div>
				
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">叶子节点：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${cate.leafStatusStr}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">发布时间：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.pubTime}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">状态：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${cate.statusStr}
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">创建时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${cate.createTime }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">更新时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${cate.updateTime }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">发布时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${cate.pubTime }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">内容：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${cate.content}
					</div>
				</div>
			</form>
		</article>
		<%@ include file="/common/include/footer.jsp" %>
	</body>
</html>